home *** CD-ROM | disk | FTP | other *** search
-
- CreateThumbnail v1.0
- Created by (c) 2001 Tomasz Malerczyk
- ------------------------------------
-
-
- Disclaimer
- ----------
-
- The program CreateThumbnail is distributed "as is"
- and the author will not be responsible for any
- damage on either you, your computer or any data.
- This program is used entirely on YOUR own risk.
-
- Distribution
- ------------
-
- CreateThumbnail is released as MAILWARE.
- It may be used, copied and spread as long as you want
- without taking any charge for it.
- But if you use it frequently you must send e-mail to author.
-
- Copyrights
- ----------
-
- CreateThumbnail v1.0
- Copyright (c) 2001 by Tomasz Malerczyk
-
- jpeg.library and imageprocess.library
- Copyright (c) 1999-2001 Paul Huxham
-
- Introduction
- ------------
-
- CreateThumbnail is a small utility for creating thumbnails
- from JPEG images.
-
- It is very similiar to MakeThumbNail from OpalVision but
- uses a little diffirent way to store thumbnails.
-
- Both, CreateThumbnail and MakeThumbNail store thumbnails
- INSIDE the source JPEG image. It means that no additional
- files (images) are created or writed to disk.
- The thumbnails are stored in a friendly way so the image
- containg thumbnail is still viewable with any JPEG viewer.
- (it seems that not many people knows that JPEG image
- can contain thumbnail)
-
- Ofourse nothing comes for free and files with thumbnails
- are a little larger than without thumbnail.
-
- MakeThumbNail use feature called Embedded Thumbnail which
- can only use RGB data (3 bytes per pixels).
- It is easy to guess that for 80x80 thumbnail the source
- file will be 80*80*3 = 19200 bytes larger.
-
- CreateThumbnail use JPEG Extension Segment designed
- just for thumbnails. It can hold 3 types of data:
-
- - 8 bit paletted thumbnails (usually greyscaled)
- - RGB thumbnails (similar to that created by MakeThumbNail)
- - JPEG compressed thumbnails
-
- The same 80x80 JPEG compressed thumbnail will have about
- 4-6 Kbytes.
-
- As you can see there is a difirence.
-
- Furthermore, viewing such small JPEGs is fast enough
- even on slow machines.
-
- REQUIREMENTS
- ------------
-
- The program was been created on OS3.0 but it should
- work with OS2.0 and up.
-
- You will need:
-
- - jpeg.library v6.2
- - imageprocess.library v1.0
-
- - some free memory
- - some free hard-disk space
-
- HOW TO USE ?
- ------------
-
- CreateThumbnail can bo launched only from CLI.
-
- You can abort it by pressing Ctrl+C.
- (the program will exit after current image is done)
-
- The template is:
-
- SOURCE/A,DESTINATION/A,QUIET/S,ASYNCIO/S,FORCESCALE/N,
- LARGETHUMB/S
-
- - SOURCE/A
- Source file or directory to load from.
- (this option is required)
-
- - DESTINATION/A
- Destination file or directory. It must
- be diffirent than source.
- (this option is required)
-
- - QUIET/S
- Do not show any infos.
-
- - ASYNCIO/S
- jpeg.library will use asyncio.library for
- disk I/O
-
- - FORCESCALE/N
- Available values are: 1,2,4,8
- This tells jpeg.library to use selected
- scale factor.
-
- It is useful for big images.
-
- jpeg.library will magicaly skip some image
- data while decoding (the greater value
- the more data are skiped) resulting in
- smaller decoded image, smaller memory
- usage and finally faster decoding.
-
- It is also faster to produce thumbnail from
- smaller image.
-
- Usualy you will use values from 1 to 4 but
- for really big images 8 is recommended.
-
- - LARGETHUMB/S
- Forces CreateThumbnail to produce 80x80 instead
- of 64x64 thumbnails.
-
- (always the widest side of source image will
- be considered)
-
- CONTACT AUTHOR
- --------------
-
- Bug reports, comments and pretty girls phone numbers
- send to:
-
- Tomasz Malerczyk - vepar@friko6.onet.pl
-
- As always note for Enforcer owners. Please send
- enforcer hit reports.
-
-
-